package ciicos.util.relation;

import com.baomidou.mybatisplus.extension.service.IService;
import lombok.Data;

@Data
public class SubRealtion<SE> {

    private IService<SE> service;

    private Class<SE> seClass;

    private String mainColumn;

    private String subColumn;

    public SubRealtion(IService<SE> service, Class<SE> seClass, String mainColumn, String subColumn) {
        this.service = service;
        this.seClass = seClass;
        this.mainColumn = mainColumn;
        this.subColumn = subColumn;
    }

}